Previous Book Contents Book Index Next

Inside Macintosh: QuickDraw GX Objects /
Chapter 2 - Shape Objects / Shape Objects Reference
Functions / Manipulating Shape Object Properties


GXGetShapeType

You can use the GXGetShapeType function to determine the shape type of a shape object.

gxShapeType GXGetShapeType(gxShape source);
source
A reference to the shape object to determine the shape type of.
function result
The shape type of the source shape.
ERRORS, WARNINGS, AND NOTICES
Errors 
shape_is_nil 
SEE ALSO
Shape types are described in the section "Shape Type" beginning on page 2-9.

To assign a shape type to a shape object, use the GXSetShapeType function, described in the next section.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
7 JUL 1996